{* $Id: home.tpl,v 1.88.2.11 2007/08/08 13:51:54 max Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%}&nbsp;::&nbsp;{/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{if $config.SEO.page_title_limit <= 0}
{$smarty.capture.title}
{else}
{$smarty.capture.title|replace:"&nbsp;":" "|truncate:$config.SEO.page_title_limit|replace:" ":"&nbsp;"}
{/if}
{/strip}</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
<link rel="stylesheet" href="{$SkinDir}/tabs/tabs.css" />
</head>
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
	<td><img src="{$ImagesDir}/toppic.jpg" height="150" width="610"></td>
	<td class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td>
	<td width="100%" class="RedBox" valign="center">
	{*
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr><td class="RedBox"><div class="categories"><a href="help.php?" class="sidemenu">{$lng.lbl_login_top}</a></div></td></tr>
		<tr><td class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td></tr>	
		<tr><td class="RedBox"><div class="categories"><a href="search.php" class="sidemenu">{$lng.lbl_search_top}</a></div></td></tr>		
		<tr><td class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td></tr>	
		<tr><td class="RedBox"><div class="categories"><a href="orders.php" class="sidemenu">{$lng.lbl_orders_history_top}</a></div></td></tr>
		<tr><td class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td></tr>	
		</table>
		*}
     <table width="157" height="101" border="0" cellpadding="0" cellspacing="0" background="images/sidemenubk.jpg" bgcolor="E44C16">
     <tr>
     <td height="10"><img src="images/clear.gif" width="10" height="10"></td>
     </tr>
     <tr>
     <td height="25"><div align="left">&nbsp;&nbsp;<img src="images/arrow.jpg" width="3" height="5" align="absmiddle"> <a href="help.php" class="sidemenu">{$lng.lbl_login_top}</a></div></td>
     </tr>
     <tr>
     <td height="1" background="images/line.jpg" bgcolor="#FFFFFF"><div align="left"><img src="images/clear.gif" width="10" height="1"></div></td>
     </tr>
     <tr>
     <td height="20"><div align="left">&nbsp;&nbsp;<img src="images/arrow.jpg" width="3" height="5" align="absmiddle"> <a href="search.php" class="sidemenu">{$lng.lbl_search_top}</a> </div></td>
     </tr>

     <tr>
     <td background="images/line.jpg" bgcolor="#FFFFFF"><img src="images/clear.gif" width="10" height="1"></td>
     </tr>
     <tr>
     <td height="25"><div align="left">&nbsp;&nbsp;<img src="images/arrow.jpg" width="3" height="5" align="absmiddle"> <a href="/cat/orders.php" class="sidemenu">{$lng.lbl_orders_history_top}</a> </div></td>
     </tr>
     <tr>
     <td height="67" valign="bottom" style="background-image:url(images/sidemenubk.jpg);">&nbsp;<br /><br /><br /></td>
     </tr>
              </table>
              
              		
	</td>
</tr>
<tr>
	<td colspan="3" class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td>
</tr>
<tr>
	<td class="HeadMiddleLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" />	</td>
	<td class="HeadWhiteLine"><img src="{$ImagesDir}/spacer.gif" class="Spc1" alt="" /></td>	
	<td class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>	
</tr>
</table>

<br />

<!-- main area -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="VertMenuLeftColumn">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{include file="customer/categories.tpl" }
<table width="100%" ><tr><td class="SpcDot"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr></table>
<br />
{/if}

{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
<table width="100%" ><tr><td class="SpcDot"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr></table>
{/if}

{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}

{include file="customer/special.tpl"}

{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
<br />
{/foreach}
{/if}

<table width="100%" ><tr><td class="SpcDot"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr></table>
{include file="help.tpl" }
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>

<td class="Separator"><img src="{$ImagesDir}/spacer.gif" width="1" height="1" alt="" /></td>

<td valign="top" width="100%" class="VertMenuMiddleColumn">
<!-- central space -->
{include file="location.tpl"}

{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}

{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}

{include file="customer/home_main.tpl"}
<!-- /central space -->
&nbsp;
</td>

<td class="Separator"><img src="{$ImagesDir}/spacer.gif" width="1" height="1" alt="" /></td>


<td class="VertMenuRightColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
{include file="modules/SnS_connector/button.tpl"}
<br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
<br />
{/if}
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}

<table width="100%" ><tr><td class="SpcDot"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr></table>

{include file="customer/menu_cart.tpl" }

<table width="100%" ><tr><td class="SpcDot"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr></table>


{if $main eq "product"}
{include file="customer/main/product_desc.tpl" }
<br />
{/if}


{include file="news.tpl" }

{if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'}
<br />
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
<br />
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
<br />
{include file="poweredby.tpl" }
<br />

<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
	{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}
